package initializationorder;

/**
 * @Description: null
 * @Project: testDemo
 * @Author: hjibo
 * @CreateDate: 2019-01-22 19:09
 * @ModificationHistory:
 */
public class Son extends Father{
    private static String aa = aa();
    private String bb = bb();
    static {
        System.out.println("子类静态代码块");
    }
    {
        System.out.println("子类非静态代码块");
    }
    public Son() {
        System.out.println("子类构造器");
    }
    private static String cc = cc();
    private String dd = dd();
    private static String aa(){
        System.out.println("子类静态变量aa");
        return "";
    }
    private String bb(){
        System.out.println("子类成员变量bb");
        return "";
    }
    private static String cc(){
        System.out.println("子类静态变量cc");
        return "";
    }
    private String dd(){
        System.out.println("子类成员变量dd");
        return "";
    }
}
